package com.bytezero.login_test.BaseActivity;

import android.os.Bundle;

import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;

/**
 * @package  com.bytezero.login_test.BaseActivity
 * @fileName 
 * @data 2022/1/26 15:45
 * @description  
 * @TODO    
 * @author  Bytezero_zhenglei!
 * @email 420498246@qq.com
 *
 */
public  abstract  class BaseActivity extends AppCompatActivity {


    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(getLayoutId());
        initView();
    }

    protected abstract int  getLayoutId();
    protected abstract void initView();



}
